#ifndef SIGNALISATION_H_
#define SIGNALISATION_H_

#include "../common/common.h"
#include "../common/vector.h"
#include "../listes/filelist.h"
#include "../file/file.h"


return_t cmd_list_handler(int socksrc, int sockdest, filelist_p list);
return_t cmd_checksum_handler(int sockdest, char *key, int begin, int end, int blocksize, filelist_p list, const char *dirpath);

filelist_p list_with_motif(const char *motif, filelist_p oldlist);
int accept_motif(const char *motif, const char *name);

#endif /* SIGNALISATION_H_ */
